package com.study.csc.a04threadmethod1;

/**
 * @author csc
 * @Date 2023/10/18 14:44
 * @PackageName:com.study.csc.a04threadmethod
 * @ClassName: MyThread
 * @Description: TODO
 * @Version 1.0
 */
public class MyThread  extends Thread{


    public MyThread() {
    }

    public MyThread(String name) {
        super(name);
    }

    @Override
    public void run() {
        for (int i = 0; i < 100; i++) {
            System.out.println(getName()+"@"+i);
        }
    }
}
